import { createApp } from 'vue'
import { createPinia } from 'pinia'

import router from './router'
import App from './App.vue'
import http from './http'

import './styles/reset.css'
// import './styles/font.css'

import imgLazy from './hooks/lazyLoad'
import '../src/styles/icon/icon.js'


const pinia = createPinia()
const app = createApp(App)


app.use(router)
app.use(pinia)
app.config.globalProperties.$http = http
app.config.globalProperties.$url = "http://1.14.241.161:9090"
imgLazy(app)
app.mount('#app')
